<link href="__CDN__/assets/addons/baiduwebtongji/css/main.css?v={$site.version}" rel="stylesheet">
<div class="row">
    <div class="col-sm-12">
        <div class="box box-success">
            <div class="panel-heading">
                <label>受访页面</label>
            </div>
            <div class="panel-body">
                <a href="javascript:location.reload();" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                <div class="btn-group btn-group-sm" role="group">
                    <button type="button" class="btn btn-default ajax-page" id="time_tody" data-page="1" data-memo="tody">今天</button>
                    <button type="button" class="btn btn-default ajax-page" id="time_yest" data-page="1" data-memo="yest">昨天</button>
                    <button type="button" class="btn btn-default ajax-page" id="time_week" data-page="1" data-memo="week">最近7天</button>
                    <button type="button" class="btn btn-default ajax-page" id="time_month" data-page="1" data-memo="month">最近30天</button>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="row bdtj">
                    <div class="col-sm-2 col-gm-2">
                        <div class="panel">
                            <div class="panel-body border-right visit-ibox-content">
                                <h4>浏览量（PV）</h4><h2 class="text-navy pv_count">--</h2>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2 col-gm-2">
                        <div class="panel">
                            <div class="panel-body border-right visit-ibox-content">
                                <h4>访客数（UV）</h4><h2 class="text-success visitor_count">--</h2>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2 col-gm-2">
                        <div class="panel">
                            <div class="panel-body border-right visit-ibox-content">
                                <h4>贡献下游浏览量</h4><h2 class="text-warning outward_count">--</h2>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2 col-gm-2">
                        <div class="panel">
                            <div class="panel-body border-right visit-ibox-content">
                                <h4>退出页次数</h4><h2 class="text-danger exit_count">--</h2>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2 col-gm-2">
                        <div class="panel">
                            <div class="panel-body">
                                <h4>平均停留时长</h4><h2 class="text-primary average_stay_time">--</h2>
                            </div>
                        </div>
                    </div>
                </div>
                <table class="table table-hover table-visit">
                    <thead>
                        <tr>
                            <td width='40'></td>
                        	<td style="width: auto;">页面URL</td>
                            <td style="width: 100px;text-align: right;">浏览量(PV)</td>
                            <td style="width: 100px;text-align: right;">访客数(UV)</td>
                            <td style="width: 100px;text-align: right;">IP数</td>
                            <td style="width: 100px;text-align: right;">入口页次数</td>
                            <td style="width: 100px;text-align: right;">贡献下游浏览量</td>
                            <td style="width: 100px;text-align: right;">退出页次数</td>
                            <td style="width: 100px;text-align: right;">退出率</td>
                            <td style="width: 100px;text-align: right;">平均停留时长</td>
                        </tr>
                    </thead>
                    <tbody class="visit-toppage-tbody"></tbody>
                </table>
                <div class="visit-toppage-page pull-right"></div>
                <div class="clear"></div>
            </div>
        </div>
    </div>
</div>
<script>
    var bdtj_show="{$bdtj_show}";
    var url='{:url("baiduwebtongji/baiduapi/visitToppage")}';
</script>